package SystemManagement;

import Const.Constant;
import RecordManagement.ScanType;

public class DataAttrInfo_viewcat {
	public DataAttrInfo viewcat[] = new DataAttrInfo[2];
	int attr_count = 2;
	
	public DataAttrInfo_viewcat(){
		Constant c = new Constant();
		
		viewcat[0] = new DataAttrInfo();
		viewcat[0].relName = "viewcat";
		viewcat[0].attrName = "viewName";
		viewcat[0].attrType = ScanType.TYPE_STRING;
		viewcat[0].attrLength = c.MAXNAME;
		viewcat[0].offset = 0;
		
		viewcat[1] = new DataAttrInfo();
		viewcat[1].relName = "viewcat";
		viewcat[1].attrName = "viewContent";
		viewcat[1].attrType = ScanType.TYPE_STRING;
		viewcat[1].attrLength = c.VIEWLENGTH;
		viewcat[1].offset = c.MAXNAME;
	}
}
